package com.yc.cloud.oss.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class OssCreateDirParam {

    @ApiModelProperty(value = "目录名称", required = true)
    @NotEmpty(message = "目录名称不能为空")
    private String name;

    @ApiModelProperty(value = "父目录ID,没有父目录则传0", required = true)
    @NotNull(message = "父目录ID不能为空")
    private String parentFileId;


}
